import { createApp } from 'vue'
import '@/assets/styles/reset.scss'
import '@/assets/styles/index.scss'
import App from './App.vue'
import router from './router'
import { setupStore } from './stores/index'
import 'amfe-flexible'
import 'virtual:svg-icons-register'
import Vant from 'vant';
import 'vant/lib/index.css';

import SvgIcon from '@/components/SvgIcon/index.vue'

const app = createApp(App)

setupStore(app)
app.use(Vant)
app.use(router)
app.component('svg-icon', SvgIcon)
app.mount('#app')
